using System;
using DotNetNuke.Framework;
using DotNetNuke.Services.Exceptions;
using DotNetNuke.Entities.Modules;

namespace YourCompany.DNNModules.NewsBeast
{

    /// <summary>
    /// The View class displays the content
    /// </summary>

    //  [XXNtc.ModulePermission("NewsBeast", "PERMISSION_NAME1", "Friendly Permission Name 1")]
    //  [XXNtc.ModulePermission("NewsBeast", "PERMISSION_NAME2", "Friendly Permission Name 2")]
    [DNNtc.PackageProperties("NewsBeast", 1, "NewsBeast", "NewsBeast", "", "Torsten Weggen", "bitboxx solutions", "http://www.bitboxx.net", "info@bitboxx.net", true)]
    [DNNtc.ModuleProperties("NewsBeast", "NewsBeast", 0)]
    [DNNtc.ModuleDependencies(DNNtc.ModuleDependency.CoreVersion, "07.00.01")]
    [DNNtc.ModuleControlProperties("", "NewsBeast", DNNtc.ControlType.View, "", true, false)]
    public partial class View : PortalModuleBase
    {

        #region Event Handlers

        /// <summary>
        /// Runs when the control is loaded
        /// </summary>
        private void Page_Load(object sender, EventArgs e)
        {
            ServicesFramework.Instance.RequestAjaxAntiForgerySupport();
        }

        #endregion

    }

}
